export const widgetDevice11 = {
  code: 'widget-device11',
  type: 'webConfDevice',
  tabName: '组态设备',
  label: '沉降池',
  iconImage:require('../../../image/沉降池.png'),
  icon: '',
  options: {
    // 配置
    setup: [
      {
        type: 'el-input-text',
        label: '图层名称',
        name: 'layerName',
        required: false,
        placeholder: '',
        value: '沉降池',
      },
      {
        type: 'el-slider',
        label: '透明度',
        name: 'transparency',
        required: false,
        placeholder: '',
        value: 100
      },
      {
        type: 'el-switch',
        label: '左右镜像',
        name: 'leftRightImage',
        required: false,
        placeholder: '',
        value: false,
      },
      {
        type: 'el-switch',
        label: '上下镜像',
        name: 'topButtomImage',
        required: false,
        placeholder: '',
        value: false,
      },
      {
        type: 'el-slider',
        label: '液体透明度',
        name: 'liquidTransparency',
        required: false,
        placeholder: '',
        value: 100
      },
      {
        type: 'vue-color',
        label: '液体颜色',
        name: 'liquidBackground',
        required: false,
        placeholder: '',
        value: '#5f9ea0'
      },
    ],
  // 数据
  data: [
    {
      type: 'el-radio-group',
      label: '数据类型',
      name: 'dataType',
      require: false,
      placeholder: '',
      selectValue: true,
      selectOptions: [
        {
          code: 'staticData',
          name: '静态数据',
        },
        {
          code: 'dynamicData',
          name: '动态数据',
        },
      ],
      value: 'staticData',
    },
    {
      type: 'el-input-number',
      label: '刷新时间(毫秒)',
      name: 'refreshTime',
      relactiveDom: 'dataType',
      relactiveDomValue: 'dynamicData',
      value: 1000*10
    },
    {
      type: 'el-button',
      label: '静态数据',
      name: 'staticData',
      required: false,
      placeholder: '',
      relactiveDom: 'dataType',
      relactiveDomValue: 'staticData',
      value: [{
        "liquidHeight": 60
    }],
    },
    {
      type: 'dycustComponents',
      label: '',
      name: 'dynamicData',
      required: false,
      placeholder: '',
      relactiveDom: 'dataType',
      relactiveDomValue: 'dynamicData',
      chartType: 'myType',
      dictKey: 'SELECT_PROPERTIES',
      value: '',
    },
  ],
    // 坐标
    position: [
      {
        type: 'el-input-number',
        label: '左边距',
        name: 'left',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'el-input-number',
        label: '上边距',
        name: 'top',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'el-input-number',
        label: '宽度',
        name: 'width',
        required: false,
        placeholder: '该容器在1920px大屏中的宽度',
        value: 300,
      },
      {
        type: 'el-input-number',
        label: '高度',
        name: 'height',
        required: false,
        placeholder: '该容器在1080px大屏中的高度',
        value: 200,
      },
      {
        type: 'el-input-number',
        label: '旋转角度',
        name: 'rotate',
        required: false,
        placeholder: '',
        value: 0,
      },
    ],
  }
}